package com.item.model.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.item.model.entity.WxOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.item.model.entity.vo.WxOrderVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhang-rongyao
 * @since 2021-07-22
 */
@Repository
public interface WxOrderMapper extends BaseMapper<WxOrder> {

    List<WxOrderVo> getPageList(@Param("page")Page page, @Param("params")Map params);

    WxOrder getOrderById(@Param("order_no") String orderId);
}
